package com.tedu.egmybatisworkxml.mapper;

import com.tedu.egmybatisworkxml.pojo.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insert(Product product);
    int update(Product product);
    int delete(Integer id);
    Product select(Integer id);
    List<Product> selectAll();

}
